package com.eedi.framework.protocol.dal.dataobject;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eedi.framework.common.enums.CommonStatusEnum;
import com.eedi.framework.mybatis.core.dataobject.BaseDO;
import com.eedi.framework.protocol.enums.SysProtocolApplyTypeEnum;
import lombok.*;

/**
 * 协议配置历史版本 DO
 *
 * @author 永聚长青源码
 */
@TableName("sys_protocol_history")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProtocolHistoryDO extends BaseDO {

    /**
     * 协议配置历史版本id
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String sysProtocolHistoryId;
    /**
     * 协议配置ID
     */
    private String sysProtocolId;
    /**
     * 协议名称
     */
    private String sysProtocolName;
    /**
     * 协议应用类型：1注册登录 2专家问诊 3便民问诊 4患者评价 见枚举详情
     */
    private SysProtocolApplyTypeEnum sysProtocolApplyType;
    /**
     * 协议内容
     */
    private String sysProtocolContent;
    /**
     * 协议备注说明
     */
    private String sysProtocolDesc;
    /**
     * 显示顺序
     */
    private Integer sysProtocolSort;
    /**
     * 协议发布状态
     */
    private CommonStatusEnum sysProtocolPublishStatus;

}
